local more1__shi__botu = fk.CreateSkill {
  name = "more1__shi__botu",
  tags = { Skill.Compulsory, },
}

Fk:loadTranslationTable{
  ["more1__shi__botu"] = "博图",
  [":more1__shi__botu"] = "锁定技，游戏开始时，你从牌堆中获得每种类型各一张牌。",
  ["$more1__shi__botu1"] = "",
  ["$more1__shi__botu2"] = "",
}


more1__shi__botu:addEffect(fk.GameStart, {
  anim_type = "drawcard",
  can_trigger = function (self, event, target, player, data)
    return player:hasSkill(more1__shi__botu.name)
  end,
  on_use = function (self, event, target, player, data)
    local room = player.room
    local cards = room:getCardsFromPileByRule(".|.|.|.|.|equip", 1)
    if #cards > 0 then
      local id = cards[1]
      local card = Fk:getCardById(id)
      room:moveCardTo(card, Card.PlayerHand, player, fk.ReasonPrey, more1__shi__botu.name, nil, true, player)
    end

    local cards = room:getCardsFromPileByRule(".|.|.|.|.|basic", 1)
    if #cards > 0 then
      local id = cards[1]
      local card = Fk:getCardById(id)
      room:moveCardTo(card, Card.PlayerHand, player, fk.ReasonPrey, more1__shi__botu.name, nil, true, player)
    end

    local cards = room:getCardsFromPileByRule(".|.|.|.|.|trick", 1)
    if #cards > 0 then
      local id = cards[1]
      local card = Fk:getCardById(id)
      room:moveCardTo(card, Card.PlayerHand, player, fk.ReasonPrey, more1__shi__botu.name, nil, true, player)
    end


  end,
})







return more1__shi__botu
